import request from "../../request";
import { type R, type DeepRequired } from "../../interface";
import { type AxiosRequestConfig } from "axios";

/**
 * 获取所有 Tags 信息
 * /tags
 */
export function getTags(config?: AxiosRequestConfig) {
    return request.get<DeepRequired<R>>(`/tags`, config);
}
